﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SourceControlEssentials
{
    class Bykovskyy : IStudent
    {
        public override int GetHashCode()
        {
            return base.GetHashCode();
        }

        public int Id()
        {
            return GetHashCode();
        }

        public string GetLastName()
        {
            return "Bykovskyy";
        }

        public string GetFirstName()
        {
            return "Oleg";
        }

        public int GetGroup()
        {
            return 318;
        }

        public string MethodName()
        {
            return "Reverse chars";
        }

        public String ExecuteStrategy(string value)
        {
            return String.Join(" ", value.Split(' ').Select(word => new String(word.Reverse().ToArray())));
        }
    }
}
